package com.project.web01.controller;

import com.project.service.HelloSerivce;
import com.project.service.TestService;
import com.project.service.impl.TestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: PengFei.He
 * @Date: 2024/6/27 19:28
 * @Function:
 */

@RestController
public class HelloWeb01Controller {

    @RequestMapping("/hello01")
    public String helloWeb01(){
//        helloSerivce.helloServiceFunc();

        new TestServiceImpl().testServiceFunc();

        System.out.println("hello web01");
        return "hello web01";
    }
}
